import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import '@/assets/main.css'

import { gsap } from 'gsap'
import { ScrollTrigger } from 'gsap/ScrollTrigger'
import { ScrollSmoother } from 'gsap/ScrollSmoother'

import { register } from 'swiper/element/bundle'
import 'swiper/css'
import 'swiper/element/css/navigation'

register()
gsap.registerPlugin(ScrollTrigger, ScrollSmoother)

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')
